package scenario.graph
{
	
	
	import flash.display.*;
	import flash.text.TextField;
	import flash.display.Sprite;
	import flash.text.TextField;
	import flash.text.TextFormat;
	import flash.text.TextFieldAutoSize;
	import flash.display.Stage;
	import flash.display.StageAlign;
	import flash.display.StageScaleMode;
	import fl.controls.*;
	import flash.events.*;
	import mx.core.*;
	
	
	import com.google.maps.overlays.*;
	import com.google.maps.interfaces.*;
	import com.google.maps.LatLng;
	import com.google.maps.Map;
	import com.google.maps.MapEvent;
	import com.google.maps.MapType;
	import com.google.maps.controls.MapTypeControl;
	import com.google.maps.PaneId;
	
	import com.google.maps.LatLng;
	import com.google.maps.MapEvent;
	import com.google.maps.PaneId;
	import com.google.maps.interfaces.IMap;
	import com.google.maps.interfaces.IPane;
	import com.google.maps.overlays.OverlayBase;
	import com.google.maps.overlays.PolylineOptions;
	
	import flash.display.Shape;
	import flash.display.Sprite;
	import flash.geom.Point; 
	
	import scenario.ScenarioElement;
	
	public class Arc 
		extends GraphElement
	{
		public function Arc(ac:Array,option:PolylineOptions=null)
		{
			super("", "");
			
		}

		
		
		
		
		
		public override function draw():void
		{
			sprite.graphics.clear();
			
			var roundObject:Shape = new Shape();
			
            roundObject.graphics.beginFill(0x00FF00);
            roundObject.graphics.moveTo(250, 0);
            roundObject.graphics.curveTo(300, 0, 300, 50);
            roundObject.graphics.curveTo(300, 100, 250, 100);
            roundObject.graphics.curveTo(200, 100, 200, 50);
            roundObject.graphics.curveTo(200, 0, 250, 0);
            roundObject.graphics.endFill();
            
            sprite.addChild(roundObject);
			
		}
		
		
	}
}